Top 10k strings from Statistics (1983)(Greg Turnbull).tzx
in <root> / bin / z80 / software / Sinclair Spectrum Collection TOSEC.exe / Sinclair ZX Spectrum - Utilities & Educational / Sinclair ZX Spectrum - Utilities & Educational - [TZX] (TOSEC-v2007-01-01) /
Back to the directory listing
3 3 2 R9=R9+.000001 2 ;"___________________"'' 2 ;"________________": 2 ;"THIS MAY TAKE SOME TIME!" 2 ;"PLEASE WAIT."'': 2 ;"PLEASE WAIT."'' 2 /(u2*A))*(t3+t4-(t1^2 2 *********************** 2 "NEARLY FINISHED." 2 "INPUT THE NAME OF THE VERTICAL (y) AXIS:": 2 "INPUT THE NAME OF THE HORIZONTAL(x) AXIS:": 2 1 x OR y OR PRESS ENTER TO RETURN:"'': 1 v2=s4/q*100 1 v1=s3/p*100 1 t5=t5+X(h)*Y(h) 1 t4=t4+Y(h)^2 1 t3=t3+X(h)^2 1 t2=t2+Y(h): 1 t1=t1+X(h): 1 scaley=scaley+1 1 scalex=scalex+1 1 s2=s2+(Y(i)-q)*(Y(i)-q) 1 s1=s1+(X(i)-p)*(X(i)-p): 1 miny=miny+divy 1 miny=C(A): 1 minx=minx+divx 1 minx=B(A): 1 highy=highy-18 1 highx=highx-18 1 divy=(maxy-miny)/15 1 divx=(maxx-minx)/15 1 U=(t5-(t1*t2/(h-1 1 STATISTICS 1 STATISTIC PROGRAM. 1 START OF DESCRIPTIVE STATISTICS. 1 SORT x VALUES. 1 S(B)=S(B)+P9: 1 R9=miny+divy 1 R9=minx+divx 1 R(B)=R(B)+P9: 1 PRINT DATA. 1 MENU OF CHOICES. 1 MEANS, SD, CV(%), SEM & F-TEST. 1 M2=(C(w)+C(v))/2 1 M1=(B(w)+B(v))/2 1 M(K)=M(K+1 1 M(B)=M(B)+P9 1 L(K)=L(K+1 1 L(B)=L(B)+P9 1 DATA SORTING INTO DESCINDING ORDER & PRINT RANKED DATA. 1 DATA INPUT, STORAGE, PRINTING & GRAPHICS. 1 DATA FOR GRAPHICS. 1 D=(t5-(t1*t2/(h-1 1 COPY DATA TO PRINTER 1 CHOICE OF ALTERING DATA. 1 C(ll)=C(ii): 1 B(ll)=B(ii): 1 ;"n:";n;" ";"x:";X(n);"y:";Y(n) 1 ;"______________________________"; 1 ;"______________________"'' 1 ;"_________________"'' 1 ;"________________"'' 1 ;"_______________"'' 1 ;"___________"'' 1 ;"_________"'' 1 ;"______"'': 1 ;"WOULD YOU LIKE TO ALTER ANY FURTHER DATA? (y/n):": 1 ;"WOULD YOU LIKE TO ALTER ANY DATA? (y/n):": 1 ;"WOULD YOU LIKE A BAR CHART OF THE x OR y DATA? TIPE IN 1 ;"WHICH TYPE OF ANALYSIS WOULD YOU LIKE?"'' 1 ;"TYPE IN YOUR x AND y VALUES (ENTER EACH ONE):"'' 1 ;"TYPE IN '6' FOR A LINE GRAPH": 1 ;"TYPE IN '4' FOR REGRESSION AND CORRELATION": 1 ;"TYPE IN '1' FOR MEAN,SD,CV(%), SEM & F-TEST:": 1 ;"TYPE IN '0' TO EXIT:" 1 ;"THE VALUE OF t=";T'' 1 ;"THE COMPUTER IS RANKING THE DATA" 1 ;"THE COMPUTER IS CALCULATING THE STATISTICAL VALUES."'' 1 ;"STATISTICAL ANALYSIS OF DATA BY GREG TURNBULL 1983."; 1 ;"REGRESSION AND CORRELATION:"; 1 ;"RANKED DATA:"; 1 ;"O.K. BYE!": 1 ;"NOTE: IF YOU MAKE A MISTAKE WRITE IT DOWN AND YOU WILL BE ABLE TO ALTER IT LATER." 1 ;"NEW DATA WALUES:"; 1 ;"MIN, MAX, MEDIANS:"; 1 ;"MEAN VALUES ARE TOO LARGE": 1 ;"LOOK UP YOUR t VALUE IN t-TABLESFOR THE ABOVE DF, AND FIND THE PROBABILITY VALUE (P) FOR SIGNIFICANCE TESTING."'' 1 ;"HAVE YOU BEEN VIA THE MEDIANS ROUTINE? (y/n) THIS IS BECAUSE THE MAXIMUM AND MINIMUM VALUES ARE NEEDED FOR THE BARCHARY."'': 1 ;"HAVE YOU BEEN VIA 3) MEDIANS ROUTINE? (y/n) ": 1 ;"For y=b*x+c"'': 1 ;"For DF=";u2'' 1 ;"F-TEST: "; 1 ;"DESCRIPTIVE STATISTIC:"; 1 ;"DATA IS TOO LARGE": 1 ;"COR. COEFF', r=";U'' 1 ;"CHANGE AN x VALUE:"; 1 ;"CHANGE A y VALUE:"; 1 ;"C) GRAPHS:"; 1 ;"BAR CHART."; 1 ;"B) STATISTICAL ANALYSIS:"; 1 ;"A) DESCRIPTIVE STATISTICS:"; 1 ;"A TEST TO COMPARE THE PRECISION OF x WITH THAT OF y.": 1 ;"A LINE GRAPH OF x,y:"; 1 ;"A BAR CHART OF y."; 1 ;"A BAR CHART OF x."; 1 ;"2 SAMPLE t-TEST:"; 1 ;" "'': 1 ;" "'': 1 ;" "'' 1 ;" "'' 1 ;" "'': 1 ;" "'': 1 ;" "'' 1 ;" 1 )))/(t3-(t1^2 1 )))*(t4-(t2^2 1 (S(B)/scaley+.5 1 (R(B)/scalex+.5 1 ((t3-(t1^2 1 "r=0 this indicates that x and y are totally uncorrelated." 1 "n=";A,"","(B,C)=";"(";p;",";q;")"'': 1 "n:";n;" ";"x:";x(n),"y:";Y(n) 1 "n:";n;" ";"x:";X(n);"y:";Y(n) 1 "n:";n;" ";"x:";X(n);"y:";Y(N) 1 "n:";l;" ";"x:";B(l);"y:";C(l) 1 "median of y approx' equal to mean of y indicating normally distributed y data."'' 1 "median of x approx' equal to mean of x indicating normally distributed x data."'' 1 "correlation coefficient (r)<.75 indicating a strong positive relationship between x and y." 1 "b=";D,"","c=";E'': 1 "b and r are >.75 indicating a strong positive linear correlation between x and y."'' 1 "b and r are <-.75 indicating a strong negative linear correlation between x and y."'' 1 "WOULD YOU LIKE TO RUN THE PROGRAM AGAIN? (y/n):": 1 "WOULD YOU LIKE TO CHANGE x OR y VALUES? (x/y):": 1 "TYPE IN YOUR TOTAL NUMBER OF DATA PAIRS (n):": 1 "TYPE IN THE NAME OF THE y-AXIS": 1 "TYPE IN THE NAME OF THE x-AXIS": 1 "TYPE IN '7' FOR A BAR CHART"'': 1 "TYPE IN '5' FOR 2-SAMPLE t-TEST"'' 1 "TYPE IN '3' FOR MIN,MAX & MEDIAN"'' 1 "TYPE IN '2' TO PRINT THE DATA": 1 "THIS VALUE CAN BE LOOKED UP IN F-TABLES TO FIND A PROBABILITY (P) VALUE FOR SIGNIFICANCE TESTING." 1 "THE F VALUE=";h3: 1 "SD of y=";s4: 1 "S.E.M for y=";s6'' 1 "S.E.M for x=";s5'' 1 "S.D of x=";s3: 1 "PRESS ENTER TO CONTINUE:";W$ 1 "N=";A,"","(B,C)=";"(";p;",";q;")": 1 "MINIMUM VALUE OF y IS ";C(A): 1 "MINIMUM VALUE OF x IS ";B(A): 1 "MEDIAN OF y=";M2: 1 "MEDIAN OF x=";M1: 1 "MAXIMUM VALUE OF y IS ";C(1 1 "MAXIMUM VALUE OF x IS ";B(1 1 "INPUT THE y VALUE YOU WANT FOR THIS ROW (n):": 1 "INPUT THE x VALUE YOU WANT FOR THIS ROW (x):": 1 "INPUT THE DATA ROW NUMBER FOR THE CHANGE (n):": 1 "INPUT THE DATA ROW NUMBER FOR THE CHANGE (n):": 1 "FOR DF1 & DF2 OF:";h4: 1 "DO YOU WANT TO ALTER ANY MORE y VALUES? (y/n):": 1 "DO YOU WANT TO ALTER ANY MORE x VALUES? (y/n):": 1 "DO YOU WANT TO ALTER ANY y VALUES? (y/n):": 1 "DO YOU WANT TO ALTER ANY x VALUES? (y/n):": 1 "CV(%) of y=";v2: 1 "CV(%) of x";v1: 1 "Ax=";t1,"Ax*x=";t3,"Ay=";t2,"Ay*y=";t4,"Ax*y=";t5 1 "ARE YOU SURE? (y/n):": 1 t-TEST AND DF. 1 TOTALS, MEANS, SD, OV 1 START OF STATISTICAL 1 START OF GRAFICAL 1 SORT Y VALUES 1 SECTION. 1 REM, REG, COR, DF ? 1 REGRESSION AND 1 PRINT SORTED DATA 1 MIN, MAX AND MEDIANS. 1 DRAW LINE GRAPH. 1 DRAW BAR CHART OF y 1 DRAW BAR CHART OF x . 1 CORRELATION. 1 CALCULATION OF SUM OF 1 CALCULATE y VALUES 1 CALCULATE x VALUES. 1 BAR CHART. 1 ANALISIS. 1 STATISTICS PROGRAM 1 FOR M.Sc. PROJECT 1 FOR 48K ZX SPECTRUM 1 EXIT. 1 1 1 1 1 1